-- GENERATED SPELL FOR [Demon Hunter Supplicant] --


function spell0_21179(pUnit, Event) --@Evasion,Self--
pUnit:FullCastSpellOnTarget(37683,pUnit)
pUnit:RegisterEvent('Sorts_21179', 10329, 1)
end

function Sorts_21179(pUnit, Event)
local choix_sorts_21179 = math.random(0, 0)
if choix_sorts_21179 == 0 then
pUnit:RegisterEvent('spell0_21179', 1, 1)
end
end

function mob21179_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_21179', math.random(1500, 3000), 1)
end

function mob21179_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21179_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob21179_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(21179, 1, 'mob21179_Action')
RegisterUnitEvent(21179, 2, 'mob21179_Leave')
RegisterUnitEvent(21179, 3, 'mob21179_Kill')
RegisterUnitEvent(21179, 4, 'mob21179_Die')
